/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import net.minecraft.client.Minecraft;
/*    */ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
/*    */ import net.minecraftforge.fml.common.gameevent.TickEvent;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class hq
/*    */ {
/* 12 */   public static float w = 0.0F;
/* 13 */   public static float q = 0.0F;
/* 14 */   public static float g = 0.0F;
/*    */   
/*    */   public static float v() {
/* 17 */     return q;
/*    */   }
/*    */   
/*    */   @SubscribeEvent
/*    */   public void v(TickEvent.RenderTickEvent renderTickEvent) {
/* 22 */     if (renderTickEvent.phase == TickEvent.Phase.END)
/*    */       return; 
/* 24 */     if ((Minecraft.func_71410_x()).field_71441_e == null || (Minecraft.func_71410_x()).field_71439_g == null) {
/*    */       return;
/*    */     }
/* 27 */     if (!Minecraft.func_71410_x().func_147113_T()) {
/* 28 */       w = renderTickEvent.renderTickTime;
/*    */     }
/*    */     
/* 31 */     float f = (Minecraft.func_71410_x()).field_71439_g.field_70173_aa + renderTickEvent.renderTickTime;
/*    */     
/* 33 */     if (q > f) {
/* 34 */       v();
/*    */     }
/*    */     
/* 37 */     if (!(Minecraft.func_71410_x()).field_71441_e.field_72995_K || !Minecraft.func_71410_x().func_147113_T()) {
/* 38 */       g = Math.min(Math.max(0.0F, f - q), 1.0F);
/* 39 */       q = f;
/*    */       
/* 41 */       for (zz zz : kq.q.g.asMap().values()) {
/* 42 */         zz.w.v(renderTickEvent.renderTickTime);
/*    */       }
/*    */     } else {
/*    */       
/* 46 */       g = 0.0F;
/*    */     } 
/*    */   }
/*    */ 
/*    */   
/*    */   public static void v() {}
/*    */ 
/*    */   
/*    */   @SubscribeEvent
/*    */   public void v(TickEvent.ClientTickEvent clientTickEvent) {
/* 56 */     if (clientTickEvent.phase == TickEvent.Phase.END || (Minecraft.func_71410_x()).field_71439_g == null || Minecraft.func_71410_x().func_147113_T()) {
/*    */       return;
/*    */     }
/*    */ 
/*    */     
/* 61 */     for (zz zz : kq.q.g.asMap().values())
/* 62 */       zz.w.v(); 
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\hq.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */